Drawing.transformBoundsAligned Method

Applies an affine transform to a bounds and returns the axis-aligned bounding box which contains the transformed bounds.
 
 
Static This method is static.

Parameters

matrix

Type: Array
ElementType: Number
An array that represents an affine transform containing elements m11, m12, m13, m21, m22, m23, respectively.
bounds

Type: Rect
An object that represents a bounding box containing properties x, y, width, and height.

Return Value


Type: Rect
An object that represents an axis-aligned bounding box is large enough to contained the transformed bounds containing properties x, y, width, and height.